package com.ynet.middleground.contract.bean;

import java.util.List;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 追加证据点请求类
 * @date 2020-04-15 23:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "追加证据点请求类", description = "场景式存证，追加证据点请求类，将证据点追加到已存在的证据链内形成证据链")
public class AppendEvidenceReq extends BaseReqObj {

    private static final long serialVersionUID = 5557586884921907582L;

    @ApiModelProperty(value = "数据存证编号", notes = "数据存证编号", dataType = "String", required = true)
    @NotBlank(message = "数据存证编号不能为空")
    private String evid;

    @ApiModelProperty(value = "证据 id 列表", notes = "证据 id 列表")
    private List<IdsBean> linkIds;
}
